package com.xebest.web.service;

import com.xebest.web.form.XeVenFinSalesBillDetailForm;
import com.xebest.web.model.XeVenFinSalesBillDetailEntity;
import com.xebest.web.view.XeVenFinSalesBillDetailView;
import org.apache.ibatis.annotations.Param;

import java.lang.reflect.Method;
import java.util.List;

/**
 * @desc:收款单商品明细
 * @author: wangyp
 * @createTime: 2017/8/3 14:28
 * @history:
 * @version:v1.0
 */
public interface XeVenFinSalesBillDetailService {

        /**
     	  * 收款单商品详情列表
     	  * @author: Wangyp
     	  * @createTime: 2017/8/3 14:31
     	  * @param :form
     	  * @return:
     	  */
    List<XeVenFinSalesBillDetailView> queryXeVenFinSalesBillDetailList(XeVenFinSalesBillDetailForm form);

	/**
	 * 添加收款单商品明细
	 * @author: Wangyp
	 * @createTime: 2017/8/4 17:52
	 * @param : entity
	 * @return:
	 */
	int insertSalesBillDetail(XeVenFinSalesBillDetailEntity entity)throws Exception;

	/**
	 * 批量添加付款单商品明细
	 * @param detailList
	 * @return
	 * @throws Exception
	 */
	int batchInsertSalesBillDetail(List<XeVenFinSalesBillDetailEntity> detailList)throws Exception;



	}
